#ifndef TEST_H
#define TEST_H

#include <QtGui/QMainWindow>
#include "ui_test.h"
#include <QtWebKit/QWebFrame>
#include <QtWebKit/QWebView> 

#include "ui_test2.h"


class test : public QMainWindow
{
	Q_OBJECT

public:
	test(QWidget *parent = 0, Qt::WFlags flags = 0);
	~test();

private:
	Ui::testClass ui;
};

class test2 : public QDialog
{
	Q_OBJECT

public:
	test2(QWidget *parent = 0, Qt::WFlags flags = 0);
	~test2();

private:
	Ui::test2Class ui;
};

#include <windows.h>
class A : public QObject
{
	Q_OBJECT
private slots:
	void Fun(){OutputDebugStringA("what the fk...");}
};

class B : public QObject
{
	Q_OBJECT
public:
	void F(){emit mySignal();}
signals:
	void mySignal();//{}
};

class MyWebView: public QWebView
{
	Q_OBJECT

		private slots:
			void OnClick2(QUrl url)
			{
				this->load(url);
			}
};


#endif // TEST_H
